/* 整体容器 */
.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .title {
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
  }
  
  /* 新闻列表 */
  .news-list {
    list-style-type: none;
    padding: 0;
  }
  
  .news-item {
    width: 100%;  /* 使新闻项宽度占满父容器 */
    box-sizing: border-box;  /* 包括 padding 和 border 在内的宽度计算 */
    background-color: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .news-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
  }
  
  .news-content {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
  }
  
  /* 固定分页 */
  .pagination-fixed {
    position: fixed;
    bottom: 20px;  /* 距离底部 20px */
    left: 50%;
    transform: translateX(-50%);  /* 水平居中 */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;  /* 确保按钮不被遮挡 */
  }
  
  .pagination-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 0 10px;
    transition: background-color 0.3s;
  }
  
  .pagination-btn:hover {
    background-color: #0056b3;
  }
  
  .pagination-btn:disabled {
    background-color: #ddd;
    cursor: not-allowed;
  }
  
  .page-info {
    font-size: 16px;
    color: #333;
  }
  .labels-container {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    /* flex-wrap: wrap; */
    display: flex;
    justify-content: center;
    /* text-align: center; */
  }
  
  .label-btn {
    padding: 6px 14px;
    border: 1px solid #ccc;
    background-color: white;
    color:black;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
  }
  
  .label-btn.active {
    background-color: #007bff;
    color: black;
    border-color: #007bff;
  }